Skip to content

[9.2] [Security Solution][Alerts] Reset selected rows when page index changes (#243729)#244671

Merged
kibanamachine merged 1 commit into
elastic:9.2from
kibanamachine:backport/9.2/pr-243729
Nov 28, 2025
Merged

[9.2] [Security Solution][Alerts] Reset selected rows when page index changes (#243729)#244671
kibanamachine merged 1 commit into
elastic:9.2from
kibanamachine:backport/9.2/pr-243729

Conversation

@kibanamachine
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 9.2:

Questions ?

Please refer to the Backport tool documentation

…es (elastic#243729)

> [!warning]
> **I am not sure this is the right way to fix this issue**.
> If you are a reviewer and have a better idea, your suggestion is more
than welcome

## Summary

Addresses elastic#243190

### 🛑 The problem

As highlighted in the aforementioned issue, the selection of rows in the
alerts table would persist when turning page.
This is a screen-recording of the issue:

https://github.com/user-attachments/assets/a3b3444a-9253-41d1-b89b-072907c7043c

### 🔍 Context

- Clearing the selection after changing page is what was happening in
previous versions of kibana
- I have noticed that in discovery we do not do this, but in other parts
of kibana we do
- I couldn't really narrow the commit that caused this to happen, so I
have implemented my own solution

### 💡 The solution

I have added a "dependency" to the effect that resets the selection when
the page size changes — I thought it was the appropriate place to do it.

(cherry picked from commit cc0f9c9)
@kibanamachine kibanamachine merged commit da88774 into elastic:9.2 Nov 28, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants